package jorm;

import java.util.ArrayList;
import java.util.List;

/**
 * @auther:陈磊 <br/>
 * Date: 12-12-28<br/>
 * Time: 下午2:23<br/>
 * connectMethod:13638363871@163.com<br/>
 */
public final class Plugins {
    private final List<IPlugin> pluginList = new ArrayList<IPlugin>();

    public Plugins add(IPlugin plugin) {
        if (plugin != null)
            this.pluginList.add(plugin);
        return this;
    }

    public List<IPlugin> getPluginList() {
        return pluginList;
    }
}
